package com.healthcloud.entity.accompany;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 生命特征
 *
 * @author liujx
 * @date 2020-08-03
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder(toBuilder = true)
public class VitalCharacteristics implements Serializable{


    @ApiModelProperty(value = "主键 id")
    private Long id;

    @ApiModelProperty(value = "建档医院")
    private Long hospitalId;

    @ApiModelProperty(value = "患者身份证号")
    private String idCard;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "体温")
    private String temperature;
    @ApiModelProperty(value = "脉搏")
    private String pulse;
    @ApiModelProperty(value = "呼吸")
    private String breath;
    @ApiModelProperty(value = "血压")
    private String bloodPressure;
    @ApiModelProperty(value = "低血压")
    private String minimumPressure;
    @ApiModelProperty(value = "高血压")
    private String highestPressure;
}